Przykad 5.1. Wyszukiwanie sekwencyjne w jzyku Ruby
def sequentialSearch(collection, t)
   colection.each {
      |i| if i == t then return true; end
   }
   return false
end
